﻿<UserControl x:Class="CoolCode.Controls.Alert"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
     xmlns:cc="clr-namespace:CoolCode.Controls">
    <Grid x:Name="LayoutRoot" Cursor="Hand" >
        <Grid  x:Name="mask" Background="Black" Opacity="0.2"></Grid>
        <cc:DialogPanel x:Name="alert" Background="White" Height="100" Width="300"  MinHeight="200" Title="Alert Message" DragEnable="True" >
            <cc:DialogPanel.Content>
                <StackPanel Orientation="Horizontal" Margin="10" HorizontalAlignment="Center">
                    <Image Source="Images/alert_icon.png" Stretch="None"></Image>
                    <TextBlock x:Name="info" TextWrapping="Wrap" VerticalAlignment="Center" FontSize="12"/>
                </StackPanel>
            </cc:DialogPanel.Content>
        </cc:DialogPanel>
    </Grid>
</UserControl>
